package org.naxx.security.datatype;

import java.util.Set;

/**
 * Able to load defined data types from our custom data
 * type definition format(s). For now we have XML only, 
 * but we can extend it to RDBMS/custom formats if
 * need be.
 */
public interface DataTypeDefinitionLoader {

	/**
	 * Exceptions thrown by this method usually indicate
	 * fatal error: wrong configuration paramter(s) etc.
	 */
	public Set<DataType> loadDataTypeDefinitions();
}
